#include "Widget.h"

using namespace DinoUI;

DinoUI::EventDispatcher	Widget::Event_Dispatcher;


Widget::Widget(void)
{
}

Widget::~Widget(void)
{
}


DinoUI::EventDispatcher &Widget::GetEventDispatcher()
{
	return Event_Dispatcher;
}

bool Widget::IsActive() { return m_bIsActive; }
void Widget::SetActive(bool active) { if(m_bIsActive != active) m_bIsActive = active; }

/*bool Widget::DispatchEvent(::WidgetEvent evt)
{
	//Widget::Event_Dispatcher.
}*/